package com.ay272.sshupdate.biz;

import com.ay272.sshupdate.dao.QianDaoDao;
import com.ay272.sshupdate.entity.QianDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by java on 2016/5/27.
 */
@Service
@Transactional
public class QianDaoBizImpl implements QianDaoBiz {
    @Autowired
    private QianDaoDao dao;
    @Override
    public void save(QianDao qianDao) {
        dao.save(qianDao);
    }
    @Override
    public List<QianDao> list() {
        return dao.list();
    }
}
